import request from "@/utils/request";

//查询活动
export const getLoginState = () => request.get("/admin/login");

// 退出方法
export const logout = () => request.delete("/admin/login");

// 获取所有微信用户
export const getWxusers = () => request.get("/admin/wx_user");

// 修改微信用户权限
export const updateWxusers = (data: any) => request.put("/admin/wx_user", data);
